package net.atomarrow.pr.ormlistener;

import net.atomarrow.db.orm.listener.DefaultOrmListener;

public class PermissionOrmListener extends DefaultOrmListener {

	@Override
	public boolean isListen(Class clazz) {
		return true;
	}

	@Override
	public Object changeValue(Class clazz, String fieldName, Object obj, Object value) {
		//根据角色和domain fieldName 判断是否有有权限
		return value;
	}
	
	

}
